﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using TimberSmart.Model.Inventory;
using TimberSmart.Model.Common;

namespace TimberSmart.Model.Debtors
{
    public class SaleTransactionItem
    {
        public int Id { get; set; }

        public int UOMOrdered { get; set; }
        public virtual TimberTally TimberTally { get; set; }

        public int QuantityOrdered { get; set; } 

        //FK's
        public int? SalesTransId { get; set; }
        public virtual SaleTransaction SalesTransactionHeader { get; set; }

        public int? ProductId { get; set; }
        public virtual Timber Product { get; set; }

        public int? TimberTallyId { get; set; }
        public virtual TimberTally TimberTallys { get; set; }
    }
}
